{extend name="layout/xilujob"}
{block name="content"}


<div class="right">
    <div class="c_right">
        <div class="c_right_header">
            <div class="title active">谁看过我</div>
        </div>
        <div class="c_right_list">
            {foreach $companies as $c}
<!--            <a href="{:url('company/detail', ['id'=>$c.id])}" class="list_item1 Jitem-group">-->
            <a href="javascript:;" class="list_item1 Jitem-group">
                <div class="logo_box pic-view">
                    <img src="{$c.enterpriseinfo.logo|cdnurl}" alt="">
                </div>
                <div class="Jlist-con">
                    <p class="job_name single-line">{$c.enterpriseinfo.company_name}</p>
                    <p>{$c.enterpriseinfo.city.shortname} ｜ {$c.enterpriseinfo.company_scale.name} ｜ {$c.enterpriseinfo.industry_category.name}</p>
                    <div class="Jtips">
                        {foreach $c.enterpriseinfo.benefits as $benefit}
                        <span>{$benefit.name}</span>
                        {/foreach}
                    </div>
                </div>
                <div class="Jtime-box2">
                    <div class="Jrecruiter"><i class="Jlist-tx" style="background-image: url('{$c.user.avatar|cdnurl}')"></i> {$c.enterpriseinfo.contact_person}·招聘者</div>
                    <div>
                        <span class="col9">最近一次查看</span><span class="Jtime">{$c.view_time|datetime='Y-m-d H:i'}</span>
                    </div>
                </div>
            </a>
            {/foreach}
        </div>
        {$companies->render()}
    </div>
</div>


{/block}